#pragma once

#include "vsflexgrid.h"
#include "DlgEditSteel.h"

class CDlgEditSteelInfo : public CDialog
{
	DECLARE_DYNAMIC(CDlgEditSteelInfo)
private:
	int 	ResetLevelComboBox(int nLevelType);
	void	ResetDiaComboBox(int nSteelLevel);
	int     FillOtherLosssComboBox(CComboBox* cb,int nOtherLossID);
	void	GetOtherLossValue(int nLossID,CString &strLoss);
public:
	int m_nSelRow ;
	CVSFlexGrid* m_pVs ;
	CDlgEditSteel* m_DlgEditSteel;
	CDlgEditSteelInfo(CWnd* pParent = NULL);   // standard constructor
	virtual ~CDlgEditSteelInfo();

// Dialog Data
	enum { IDD = IDD_Dlg_EditSteelInfo };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual BOOL OnInitDialog();
	virtual BOOL PreTranslateMessage(MSG* pMsg);

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnCbnSelendokComboSteelType();
	afx_msg void OnCbnSelendokComboLevel();
	afx_msg void OnRADIOLoss1();
	afx_msg void OnRADIOLoss2();
	afx_msg void OnBnClickedCancel();
	afx_msg void OnBnClickedOk();
};
